package com.dingding.transfer.stamper.service;

import com.alibaba.fastjson.JSONObject;
import com.dingding.transfer.stamper.util.DingCallbackCrypto;

import java.util.Map;

/**
 * @author wangxiyuan
 * @description
 * @createDate 2021/3/30 11:06
 **/
public interface CallBackService {
    String getToken(String appKey,String appSecret);

    String getStamperToken();

    Map<String, String> callBack(DingCallbackCrypto callbackCrypto, JSONObject eventJson) throws DingCallbackCrypto.DingTalkEncryptException;
}
